package com.contextor.magiccards.services.user.personage;

import com.contextor.magiccards.dao.user.personage.PersonageDao;
import com.contextor.magiccards.model.character.Personage;
import com.contextor.magiccards.model.errors.dao.ObjectNotFoundException;
import com.contextor.magiccards.model.user.User;
import com.contextor.magiccards.services.BaseEntityService;

/**
 * User: sergey
 * Date: Mar 22, 2011 12:22:07 PM
 */
public interface PersonageService extends BaseEntityService<Personage, PersonageDao> {

    Personage loadByUser(User user) throws ObjectNotFoundException;

    Personage loadByUser(int shard, User user) throws ObjectNotFoundException;
}
